home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Apple Script
/
scripts
/
Canvas Scripts
/
Charting Script
< prev
next >
Wrap
Text File
|
1993-06-08
|
2KB
|
68 lines
set hBottom to 323
set vBottom to 70
set boneWidth to 68
set boneHeight to 27
tell application "Canvas™ 3.0"
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 5
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 7
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom + boneWidth, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 6
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom + boneWidth + boneWidth, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 3
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom + boneWidth + boneWidth + boneWidth, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 8
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom + boneWidth + boneWidth + boneWidth + boneWidth, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 4
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom + boneWidth + boneWidth + boneWidth + boneWidth + boneWidth, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
set points to 2
repeat with indcounter from 1 to points
Execute a Menu Command {16, 258}
Move the selection to this location {vBottom + boneWidth + boneWidth + boneWidth + boneWidth + boneWidth + boneWidth, hBottom - (indcounter * boneHeight)}
end repeat
Kill Selection 1
Add to Selection 4
Invert Selection 1
Execute a Menu Command {7, 258}
Execute a Menu Command {5, 18}
end tell